package com.qcby.service;

import com.qcby.entity.PageResult;
import com.qcby.entity.Result;
import com.qcby.entity.Student;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface StudentService {
    Result login(Student student, HttpServletRequest request);

    PageResult<Student> list(Student student);

    void addstudent(Student student);

    void deletestudent(Integer id);

    void updatestudent(Student student);

   List<Student> findMessage(Student student);

    Map<String,String> AnalyzeAllStudentInfo(Student student);


    Integer findRepeatMessage(Student student);

    List<Integer> findAllStudentIds();
    PageResult<Student> list1(Student student);
}
